accelgroup: Expand translator comment
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 01:37:43 +0000 (21:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 May 2020 02:50:03 +0000 (22:50 -0400)
Add details about the use of KP.

gtk/gtkaccelgroup.c

index e551505e19d3acd2b51d8cebbe7f85ff16f58577..2a861d23d61c9482a7214ab8efba8bd91ddb8139 100644 (file)
@@ -933,7 +933,10 @@ gtk_accelerator_print_label (GString        *gstring,
       if (accelerator_key >= GDK_KEY_KP_Space &&
           accelerator_key <= GDK_KEY_KP_Equal)
         {
-          /* Translators: "KP" means "numeric key pad" */
+          /* Translators: "KP" means "numeric key pad". This string will
+           * be used in accelerators such as "Ctrl+Shift+KP 1" in menus,
+           * and therefore the translation needs to be very short.
+           */
           g_string_append (gstring, C_("keyboard label", "KP"));
           g_string_append (gstring, " ");
         }